﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;

namespace LunaShow
{
    class Program
    {
        static void Main(string[] args)
        {
            Process[] processess = Process.GetProcessesByName("ArchClient");
            if (processess.Length > 0)
            {
                using (Helpers.Memory memory = new Helpers.Memory(processess[0]))
                {
                    IntPtr address = memory.GetAddress("ARCHClient.exe", (IntPtr)0x0038845C, new int[] { 0x334, 0x154, 0x34, 0x9c, 0x594 });
                 
                    Console.WriteLine("MP {0}", memory.ReadUInt32(address));

                    Console.ReadLine();
                }
            }
        }
    }
}
